/*
 * Hovercraft.h
 *
 *  Created on: Feb 5, 2010
 *      Author: fmason
 */
#include "dcMotor.h"
#include "ServoMotor.h"
#include "Sonar.h"
#include "LED.h"
#include "HovercraftRadio.h"

#ifndef HOVERCRAFT_H_
#define HOVERCRAFT_H_

const int TOO_CLOSE = 0;

class Hovercraft
{
	public:
		dcMotor leftMotor;
		dcMotor rightMotor;
		ServoMotor servo;
		Sonar sonar;
		//LED led;

		void setup();
		void setLeftMotorPower( int power );
		void setLeftMotorDirection( int direction );
		void setRightMotorPower( int power );
		void setRightMotorDirection( int direction );
		void stop();
		int getLeftMotorPower();
		int getRightMotorPower();
		int getTurn();
		int getDistance(int);
		void setLEDColor();
		void printMotorInput();
	private:
};

#endif /* HOVERCRAFT_H_ */
